summation of a constant from 1 to n